package com.anmi.alfred.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;

@Data
public class TransferCaseOperationResult {
  public static final transient String TABLE_NAME = "case_operation"; // 表名
  public static final transient String INDEX_NAME = "case_operation_index"; // 索引名称
  public static final transient String ALIAS_NAME = "case_operation_query"; // 索引别名

  private Long orgId;
  private Long productId;
  private Long userId;
  private Long orgDeltId;
  private Long teamId;
  private Long depId;
  private String name;
  private String idCard;
  private String outBatchNo;
  private String outSerialNo;
  private Long outBatchId;
  private Long innerBatchId;
  private String ownMobile;
  private Byte operationState;
  private Long id;
  private Long caseId;
  private Integer actionType;
  private Integer callType;
  private Long reduceAmount;
  private Long ptpAmount;

  @JSONField(format = "yyyy-MM-dd HH:mm:ss")
  private Date ptpTime;

  @JSONField(format = "yyyy-MM-dd HH:mm:ss")
  private Date nextTime;

  private String applyDesc;
  private String callUuid;
  private Byte callStyle;

  @JSONField(format = "yyyy-MM-dd HH:mm:ss")
  private Date callTime;

  private Long callDurtion;
  private Long ringDurtion;
  private String outcome;
  private Integer submitType;
  private String caller;
  private String callee;
  private String conMobile;
  private String conName;
  private String relationType;
  private String operatorName;
  private Byte createType;

  @JSONField(format = "yyyy-MM-dd HH:mm:ss")
  private Date createTime;

  @JSONField(format = "yyyy-MM-dd HH:mm:ss")
  private Date updateTime;

  private Long createBy;
  private Long updateBy;
  private Integer status;
  private String desc;
}
